package boot

import (
	"web/global"

	"github.com/gogf/gf/v2/frame/g"
	"github.com/gogf/gf/v2/os/glog"
)

func InitLog() {
	global.GlobalLog = glog.New()
	global.GlobalLog.SetConfigWithMap(g.Map{
		"path":     "./log",
		"level":    "all",
		"stdout":   false,
		"StStatus": 0, //StStatus表示是否开启堆栈打印，设置为0表示关闭
	})
}
